import {Controller, Get, Param} from '@nestjs/common';
import {UserService} from "./user.service";

@Controller('user')
export class UserController {
    constructor(private readonly userService: UserService) {
    }

    @Get(':id')
    init(@Param('id') id): string {
        console.log(id);
        return this.userService.init(id)
    }
}
